﻿<ds:SlView x:Class="SmartSpace.Silverlight.Shell.LoginView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
    xmlns:ds="clr-namespace:SmartSpace.Silverlight;assembly=SmartSpace.Silverlight"
    mc:Ignorable="d"
    d:DesignHeight="900" d:DesignWidth="1400">
    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="/SmartSpace.Silverlight.Shell;component/Resources/db_background.jpg" Stretch="UniformToFill" />
        </Grid.Background>
        <Grid HorizontalAlignment="Right" VerticalAlignment="Bottom">
            <Image Source="/SmartSpace.Silverlight.Shell;component/Resources/Build.png" Stretch="None" />
        </Grid>
        <Grid VerticalAlignment="Center" HorizontalAlignment="Center" Background="{x:Null}">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="140"/>
            </Grid.RowDefinitions>
            <Image Grid.Row="0" Source="/SmartSpace.Silverlight.Shell;component/Resources/db_head_01.png" Stretch="None" Margin="0,0,0,-20" />
            <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" Margin="-20,0,0,0">
                <TextBlock Text="账号:" VerticalAlignment="Center"/>
                <TextBox Name="m_textBoxIdentifier" Width="200" Margin="5"/>
            </StackPanel>
            <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" Margin="-20,0,0,0">
                <TextBlock Text="密码:" VerticalAlignment="Center"/>
                <PasswordBox Name="m_textBoxPassword" Width="200" Margin="5"/>
            </StackPanel>
            <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Center">
                <Button Name="m_buttonLogin" Content="登陆" Width="72" HorizontalAlignment="Center" Margin="5" Click="OnButtonLoginClick" />
                <Button Content="取消" Width="72" HorizontalAlignment="Center" Margin="5"/>
            </StackPanel>
        </Grid>
    </Grid>
</ds:SlView>
